package com.htthorizon.powersupply.mapper;

import com.htthorizon.powersupply.dto.LineOutageItem;
import com.htthorizon.powersupply.dto.TgOutageItem;
import com.htthorizon.powersupply.dto.UserOutageItem;
import com.htthorizon.powersupply.search.TgOutageItemSearch;
import com.htthorizon.powersupply.search.UserOutageItemSearch;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserOutageMonitorMapper{

    List<LineOutageItem> getStatistics(@Param("type") String type, @Param("value") String value);

    List<UserOutageItem> getUserOutageItems(@Param("search") UserOutageItemSearch search);

    List<TgOutageItem> getTgOutageItems(@Param("search") TgOutageItemSearch tgOutageItemSearch);

}




